//
//  UIButton+TouchEvent.m
//  03_UIResponder
//
//  Created by 徐昊 on 16/7/18.
//  Copyright © 2016年 徐昊. All rights reserved.
//

#import "UIButton+TouchEvent.h"

@implementation UIButton (TouchEvent)

// 重写这个方法, 可以让对应的控件失去响应能力
- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event {
    return NO;
}

//- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
//    NSLog(@"%@-----%s", [self class], __FUNCTION__);
//}

@end
